package com.eastedu.template.core.generator;

import com.eastedu.template.model.ReportDataContainer;
import com.eastedu.template.model.ReportResult;

import java.io.InputStream;

/**
 * The interface Report generator.
 *
 * @author superman
 */
public interface ReportGenerator {
    /**
     * Generate result.
     *
     * @param container the container
     * @param template  the template
     * @return the result
     */
    ReportResult generate(ReportDataContainer container, InputStream template);
}
